package com.von.eduservice.client.impl;

import com.von.commonutils.R;
import com.von.eduservice.client.VodClient;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author Vonzhe
 * @create 2020/5/18 17:52
 **/
@Component
public class VodFileDegradeFeignClient implements VodClient {
    //出错之后执行
    @Override
    public R removeAlyVideo(String id) {
        return R.error().message("删除视频出错了");
    }

    @Override
    public R removeVideoList(List<String> videoIdList) {
        return R.error().message("删除多个视频出错了");
    }
}
